package com.project.medical.sys.util;

public class Encoder {
    public static String encoder(String str){
        byte[] bytes = str.getBytes();
        for (int i = 0; i < bytes.length; i++) {
            bytes[i] = (byte) (bytes[i]^2);
        }
        return new String(bytes,0,bytes.length);
    }
}
